package com.hoongs.v1.service;

import com.hoongs.v1.dto.DictPageDto;
import com.hoongs.v1.entity.Dict;
import com.hoongs.v1.utils.Result;

public interface DictService {

    Result add(Dict dict);

    Result remove(String id);

    Result update(Dict dict);

    Result selectById(String id);

    Result selectList(String name, String parentId,  String parentName);

    Result selectPageList(DictPageDto dictDto);
}
